﻿using NetClientFramework.ViewModel;

namespace Demo.Snake.Infrastructure.Core
{

    /// <summary>
    /// 贪吃蛇点
    /// </summary>
    public class Snake : NotifyPropertyChanged
    {
        private int row;
        private int column;

        /// <summary>
        /// 位置
        /// </summary>
        public int Row
        {
            get => row;
            set
            {
                row = value;
                RaisePropertyChanged();
            }
        }

        /// <summary>
        /// 位置
        /// </summary>
        public int Column
        {
            get => column;
            set
            {
                column = value;
                RaisePropertyChanged();
            }
        }
    }
}
